﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace dsjsports
{
    public class StaffAndResult
    {
        public StaffAndResult(int Quantity)
        {
            this.quantity = Quantity;
            this.staff = new Sportsmen[quantity];
        }

        public StaffAndResult(int Quantity, Sportsmen[] Staff)
        {
            this.quantity = Quantity;
            this.staff = Staff;
        }

        private int quantity;
        public int Quantity
        {
            get { return quantity;}
        }

        private Sportsmen[] staff;
        public Sportsmen[] Staff
        {
            get { return staff; }
            set { staff = value; }
        }

        private ObservableCollection<DateTime> result = new ObservableCollection<DateTime>();
        public ObservableCollection<DateTime> Result
        {
            get { return result; }
            set { result = value; }
        }

        private string name;
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        
        private string sity;
        public string Sity
        {
            get { return sity; }
            set { sity = value; }
        }

        private string clab;
        public string Clab
        {
            get { return clab; }
            set { clab = value; }
        }
    }
}
